package com.sinovatio.dbserver.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel("数据库信息")
@TableName("sql_info")
public class SqlInfoEntity {

    @TableId
    private String id;

    @ApiModelProperty("连接名称")
    private String dbNickname;

    @ApiModelProperty("服务器地址")
    private String dbHost;

    @ApiModelProperty("端口")
    private String dbPort;

    @ApiModelProperty("描述")
    private String dbDescription;

    @ApiModelProperty("连接类型")
    private String dbType;

    @ApiModelProperty("创建人")
    private String creator;

    @ApiModelProperty("创建时间")
    private Timestamp createTime;

}
